package catch_demo;

/**
 * @author ZhengDp
 * @Date 2023/6/14 18:19
 */
public class TryCatchDemo1 {
    public static void main(String[] args) {
        int result = test();
        System.out.println(result);
    }

    public static int test() {
        int i = 10;
        try {
            return i;
        } finally {
            return 20;
        }
    }}
